from Util import DBUtil
sql = "insert into t_book(title, `read`, `comment`, pub_date) values('python从入门到放弃',50,0,'2020-01-01') "
result = DBUtil.exe_sql(sql)
print(result)

sql  = "update t_book set is_delete = 1 where title = 'python从入门到放弃'"
result2 = DBUtil.exe_sql(sql)
print(result2)

sql ="select  * from t_book"
print(DBUtil.exe_sql(sql))
